Xbasic
A5_GET_LAYOUT_MODE Function
Syntax
Mode as C = a5_get_layout_mode(P layout_p )
Arguments
- Mode
The current mode of the layout: "VIEW", "CHANGE", or "ENTER".
- layout_p
A pointer to on open layout (form, browse, etc.).
Description
Returns the data entry mode for a layout ( View, Change or Enter)
Discussion
The A5_GET_LAYOUT_MODE() function returns the mode ("VIEW", "CHANGE", or "ENTER") of the layout.
Example
dim fp as P fp = form.load("Travel Time@c:\databases\travel time\travel time.ddd") ? a5_get_layout_mode(fp) = "VIEW"
Limitations
Desktop applications only.
See Also